﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;<asp:Label ID="Label1" runat="server" Text="Register for new user"></asp:Label><br />
        <br />
        &nbsp; &nbsp;&nbsp; &nbsp;<asp:Label ID="Label2" runat="server" Text="User Name"></asp:Label>
        &nbsp;
        <asp:TextBox ID="UserName" runat="server" AutoPostBack="True"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName"
            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        <asp:Label ID="labIsName" runat="server"></asp:Label>
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp;<asp:Label ID="Label3" runat="server" Text="Password"></asp:Label>
        &nbsp;
        <asp:TextBox ID="pass" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="pass"
            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator><br />
        <br />
        <asp:Label ID="Label4" runat="server" Text="Repeat Password"></asp:Label>&nbsp;
        &nbsp;<asp:TextBox ID="Repass" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Repass"
            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="pass"
            ControlToValidate="Repass" ErrorMessage="CompareValidator"></asp:CompareValidator><br />
        <br />
        &nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label5" runat="server" Text="First Name"></asp:Label>
        &nbsp;
        <asp:TextBox ID="FirstName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="FirstName"
            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator><br />
        <br />
        &nbsp; &nbsp; &nbsp;
        <asp:Label ID="Label6" runat="server" Text="Last Name"></asp:Label>
        &nbsp;
        <asp:TextBox ID="LastName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="LastName"
            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator><br />
        <br />
        &nbsp;&nbsp;
        <asp:Label ID="Label7" runat="server" Text="Email Adress"></asp:Label>
        &nbsp;
        <asp:TextBox ID="Email" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Email"
            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator><br />
        <br />
        &nbsp;&nbsp;
        <asp:Label ID="Label8" runat="server" Text="Phone Number"></asp:Label>
        &nbsp;
        <asp:TextBox ID="Phone" runat="server"></asp:TextBox><br />
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:Label ID="Label9" runat="server" Text="Adress"></asp:Label>
        &nbsp;
        <asp:TextBox ID="Address" runat="server"></asp:TextBox><br />
        <br />
        <asp:Label ID="Label10" runat="server" Text="Secondary Email"></asp:Label>
        &nbsp;
        <asp:TextBox ID="SecEmail" runat="server"></asp:TextBox><br />
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Register Now!" /></div>
    </form>
</body>
</html>
